| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Public Member Functions | List of all members
nkMemory::DefaultDeallocator< T > Class Template Referencefinal

A utility default deallocator using a simple call to delete. More...

Inheritance diagram for nkMemory::DefaultDeallocator< T >:

## Public Member Functions
virtual | ~DefaultDeallocator ()=default
virtual void | deallocate (T *object) override
Public Member Functions inherited from nkMemory::Deallocator< T >
virtual | ~Deallocator ()=default

## Detailed Description

### template<typename T>
class nkMemory::DefaultDeallocator< T >

A utility default deallocator using a simple call to delete.

## Constructor & Destructor Documentation

## ◆ ~DefaultDeallocator()

template<typename T >

virtual nkMemory::DefaultDeallocator< T >::~DefaultDeallocator | ( |  | ) |
| virtual default

Destructor.

## Member Function Documentation

## ◆ deallocate()

template<typename T >

virtual void nkMemory::DefaultDeallocator< T >::deallocate | ( | T * | object | ) |
| override virtual

Default deallocation implementation using the delete operator. If more complex logic is needed, external code needs to reimplement their own Deallocator.

Parameters

  object | The object to deallocate.

Implements nkMemory::Deallocator< T >.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsMemory/Deallocators/DefaultDeallocator.h